(set #endmsgs "QuickNote 1.4a has now been installed on your system.\n\nDon't forget to check regular on our homepage for updates\nand other news about our software!")
(message #welcome)
(welcome)
(complete 0)
; - create destination dir
(set destination
(askdir (prompt "Please select the destination directory for QuickNote.\nA sub-directory \"QuickNote\" will be created.")
(prompt "Do you want to install some nice QuickNote-icons by\nStephan Zander, Aldo Bianchi & Luca 'Hexaae' Longone ?")
(help @askoptions-help)
(choices "Yes" "No")
(default 0)
)
)
(if (= 0 choice)
(
(makedir (cat destination "/Icons"))
(copyfiles
(prompt "Copying...")
(source "Icons/")
(pattern "#?")
(dest (cat destination "/Icons"))
)
)
)
(complete 75)
; - copy textfield.gadget
(set choice
(askchoice
(prompt "QuickNote requires textfield.gadget by Mark Thomas\n\nControl if you got it under Sys:Classes/Gadgets/\nIf you do, this is unnecessary to install\n\nWould you like me to install it for you ?\n\n")